function e(obj) {
    return document.getElementById(obj);
}
function openBB(event) {
    e('con').style.opacity = '1';
    e('con').style.zIndex = '1';
    document.documentElement.style.overflow = 'hidden';
    document.documentElement.style.paddingRight = '17px';
    e('yc').style.marginLeft = '-300px';
    stopBubble(event);
    document.onclick = function () {
        e('con').style.opacity = '0';
        e('con').style.zIndex = '-1';
        document.documentElement.style.overflow = 'auto';
        document.documentElement.style.paddingRight = '0';
        e('yc').style.marginLeft = '-292px';
        document.onclick = null;
    };
};

e('yc').onclick = function (event) {
    stopBubble(event);
};
function stopBubble(e) {
    if (e && e.stopPropagation) {
        e.stopPropagation();
    } else {
        window.event.cancelBubble = true;
    }
}
